#!/bin/bash

# This script is used to write the password for special user

export PATH=/opt/IBMJava2-13/jre/bin:$PATH

export CLASSPATH=/usr/websm/codebase/pluginjars/hmcdebug.jar:/opt/hsc:/usr/websm/codebase/wsm.jar:$CLASSPATH

echo "Writing password ...."

if [ "$1" = "" -o "$2" = "" ]; then
   echo  "ERROR: This script requires two input arguments..."
   exit 2
fi



java -Xms20m -Xmx128m com.ibm.hsc.websm.user.SetPassword $1 $2





